"""
事件驱动模型的核心事件类
"""
# from dataclasses import dataclass
# from datetime import datetime
# from enum import Enum, auto
# from sched import Event
# from typing import Dict, Optional, Union
# from .constant import EventType, OrderType, AssetType, CashFlowType
# from .object import OrderData,TradeData,CashFlowData,BaseData
# from abc import ABC, abstractmethod

# @dataclass
# class OrderEvent(Event):
#     type: EventType
#     data: Optional[BaseData]

# @dataclass
# class OrderEvent(Event):
#     """订单事件"""
#     data: Optional[OrderData]
#     type: EventType = EventType.ORDER

# @dataclass
# class TradeEvent(Event):
#     """成交事件"""
#     data: Optional[TradeData]
#     type: EventType = EventType.TRADE
# @dataclass
# class CashFlowEvent(Event):
#     """现金流事件"""
#     data: Optional[CashFlowData]
#     type: EventType = EventType.CASHFLOW



            


